<?php
class Wow_Armory_Guild
{

    /**
     * Contains the guild name as a string.
     * 
     * @var string
     */
    protected $_guildName = null;
    
    /**
     * Creates the object.
     * 
     * @throws Wow_Armory_Exception '' - 1013
     * @param  string $guild
     * @return void
     */
    public function __construct($guild)
    {
        if (!is_string($guild)
            || empty($guild)
        ) {
            throw new Wow_Armory_Exception('', 1013);
        }
        
        $this->_guildName = $guild;
    }
    
    /**
     * Returns the guild name as a string.
     * 
     * @return string
     */
    public function getGuildName()
    {
        return $this->_guildName;
    }
    
}